package com.alfred.java.customannotationaop;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * @Author: alfred
 * @Date: 2021/1/28
 * @description:
 */
@EnableAspectJAutoProxy(proxyTargetClass = true)
@ComponentScan(value= "com.alfred.java.customannotationaop")
@SpringBootConfiguration
public class MyApplication {

    public static void main(String[] args) {
        SpringApplication.run(MyApplication.class);
    }

}
